/**
 * @author Gabriel Tuma, Sebastian Demler
 * 
 * Datecalculator Options Class
 */

package com.android.datecalculator;

import java.io.Serializable;
import java.util.Observable;

public class DCOptions extends Observable implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8035434199281564322L;
	private DifferenceUnits difference_unit;
	
	/**
	 * Constructor
	 */
	public DCOptions() {
		difference_unit = DifferenceUnits.DAYS;
	}
	
	/**
	 * returns the difference unit
	 * @return
	 */
	public DifferenceUnits getDifference_unit() {
		return difference_unit;
	}
	
	/**
	 * Sets the difference unit
	 * @param difference_unit
	 */
	public void setDifference_unit(DifferenceUnits difference_unit) {
		this.difference_unit = difference_unit;
	}
	
	
}
